/*************************************************
 * 描述：设计师插件集合
 *
 * File：cxcontrolsdesignercollection.h
 * Author：zhangzhiming@mozihealthcare.cn
 * Date：25-8-19
 * Update：
 * ************************************************/
#ifndef CXCONTROLSDESIGNERCOLLECTION_H
#define CXCONTROLSDESIGNERCOLLECTION_H
#include <QtDesigner/QtDesigner>

class CxControlsDesignerCollection :public QObject , public QDesignerCustomWidgetCollectionInterface {
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
	Q_PLUGIN_METADATA(
		IID "org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface")
#endif
public:
	explicit CxControlsDesignerCollection(QObject *parent = 0);
	QList<QDesignerCustomWidgetInterface*> customWidgets() const override;
private:
	QList<QDesignerCustomWidgetInterface*> m_customWidgets;
};



#endif //CXCONTROLSDESIGNERCOLLECTION_H
